/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package listener;

/**
 *
 * @author kien.tran
 */
public class Command {
    public static final int OK = 1;
    public static final int BACK = 2;
    public static final int EXIT = 3;

    private String text;
    private int type;

    public Command(String text, int type) {
        this.text = text;
        this.type = type;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
